<?php

/* phone-add.html */
class __TwigTemplate_629edf048274a3de4d8acacf1553e469 extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        $this->parent = $this->env->loadTemplate("layout.html");

        $this->blocks = array(
            'title' => array($this, 'block_title'),
            'content' => array($this, 'block_content'),
        );
    }

    protected function doGetParent(array $context)
    {
        return "layout.html";
    }

    protected function doDisplay(array $context, array $blocks = array())
    {
        $this->parent->display($context, array_merge($this->blocks, $blocks));
    }

    // line 3
    public function block_title($context, array $blocks = array())
    {
        echo "Phone Add";
    }

    // line 6
    public function block_content($context, array $blocks = array())
    {
        // line 7
        echo "<ul class=\"nav nav-tabs custom-tab\">
    <li><a href=\"";
        // line 8
        echo twig_escape_filter($this->env, (isset($context["base_url"]) ? $context["base_url"] : null), "html", null, true);
        echo "admin/phone.php\" data-toggle=\"tab\"><i class=\"icon-list\"></i><span>Phone</span></a></li>
    <li class=\"active\"><a href=\"\" data-toggle=\"tab\"><i class=\"icon-plus\"></i><span>Add New Phone</span></a></li>
</ul>
<div class=\"user-form\">
    <h2>New Phone</h2>
    <form class=\"form-horizontal custom-form\" method=\"post\" action=\"phone.php\" enctype=\"multipart/form-data\">
        <input type=\"hidden\" name=\"action\" value=\"add\"/>
        <input type=\"hidden\" name=\"save\" value=\"1\"/>
  <fieldset>
      <div>
          <label for=\"model\">Phone model</label>
          <input type=\"text\" name=\"model\" id=\"model\" class=\"input-xlarge\" placeholder=\"Phone Dodel\"/>
      </div>
      <div>
          <label for=\"price\">Price</label>
          <input type=\"text\" name=\"price\" id=\"model\" class=\"input-xlarge\" placeholder=\"Phone Price\"/>
      </div>
      <div>
          <label for=\"release\">Release date</label>
          <input type=\"text\" name=\"release\" id=\"release\" class=\"input-xlarge\" placeholder=\"Release Date\"/>
      </div>
      
          <div class=\"control-group custom-radio\">
            <label class=\"control-label\">Status</label>
            <div class=\"controls\">
              <label class=\"radio\">
                <input type=\"radio\" checked=\"checked\" value=\"new\" id=\"status1\" name=\"status\">
                New
              </label>
              <label class=\"radio\">
                <input type=\"radio\" value=\"second-hand\" id=\"status2\" name=\"status\">
                Second Hand
              </label>
            </div>
          </div>
          
      
      <div>
          <label for=\"brand\">Brand</label>
          
          <select name=\"brand\" id=\"brand\">
              ";
        // line 49
        $context['_parent'] = (array) $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["brandname"]) ? $context["brandname"] : null));
        foreach ($context['_seq'] as $context["_key"] => $context["brand"]) {
            // line 50
            echo "              <option value=\"";
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["brand"]) ? $context["brand"] : null), "id"), "html", null, true);
            echo "\">";
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["brand"]) ? $context["brand"] : null), "name"), "html", null, true);
            echo "</option>
              ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['brand'], $context['_parent'], $context['loop']);
        $context = array_merge($_parent, array_intersect_key($context, $_parent));
        // line 52
        echo "          </select>
      </div>
      <div>
          <label for=\"promotion\">Promotion</label>
          <input type=\"text\" name=\"promotion\" id=\"promotion\" class=\"input-xlarge\" placeholder=\"Promotion\"/>
      </div>
      <div>
          <label for=\"remark\">Remark</label>
          <textarea cols=\"50\" rows=\"4\" class=\"input-xlarge\" name=\"remark\" id=\"remark\"></textarea>
      </div>
      <div>
          <label for=\"photo\">Photo</label>
          <input type=\"file\" name=\"photo\" class=\"input-file\" id=\"photo\"/>
      </div>
      <button type=\"submit\" class=\"btn btn-primary\" >Save</button>
  </fieldset>
</form>
</div>

";
    }

    public function getTemplateName()
    {
        return "phone-add.html";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  98 => 52,  87 => 50,  83 => 49,  39 => 8,  36 => 7,  33 => 6,  27 => 3,);
    }
}
